package com.qidian.buy.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 戴着假发的程序员
 * @since 2024-05-21
 */
@TableName("buy_logistics")
public class Logistics implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 物流信息编号
     */
    @TableId(value = "logistics_id", type = IdType.AUTO)
    private Long logisticsId;

    /**
     * 订单编号
     */
    private String orderId;

    /**
     * 收货人
     */
    private String receiveName;

    /**
     * 收货电话
     */
    private String receivePhone;

    /**
     * 省份
     */
    private String receiveProvince;

    /**
     * 城市
     */
    private String provinceCity;

    /**
     * 地址
     */
    private String provinceAddress;

    /**
     * 备注
     */
    private String notes;

    /**
     * 邮政编码
     */
    private String zipCode;

    /**
     * 新建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    private LocalDateTime modifyTime;

    /**
     * 1 新建 2 以接单 3 待揽件 4 已发送 5 已接收 6 异常 
     */
    private Integer status;

    public Long getLogisticsId() {
        return logisticsId;
    }

    public void setLogisticsId(Long logisticsId) {
        this.logisticsId = logisticsId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getReceiveName() {
        return receiveName;
    }

    public void setReceiveName(String receiveName) {
        this.receiveName = receiveName;
    }

    public String getReceivePhone() {
        return receivePhone;
    }

    public void setReceivePhone(String receivePhone) {
        this.receivePhone = receivePhone;
    }

    public String getReceiveProvince() {
        return receiveProvince;
    }

    public void setReceiveProvince(String receiveProvince) {
        this.receiveProvince = receiveProvince;
    }

    public String getProvinceCity() {
        return provinceCity;
    }

    public void setProvinceCity(String provinceCity) {
        this.provinceCity = provinceCity;
    }

    public String getProvinceAddress() {
        return provinceAddress;
    }

    public void setProvinceAddress(String provinceAddress) {
        this.provinceAddress = provinceAddress;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public String getZipCode() {
        return zipCode;
    }

    public void setZipCode(String zipCode) {
        this.zipCode = zipCode;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(LocalDateTime modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Logistics{" +
            "logisticsId = " + logisticsId +
            ", orderId = " + orderId +
            ", receiveName = " + receiveName +
            ", receivePhone = " + receivePhone +
            ", receiveProvince = " + receiveProvince +
            ", provinceCity = " + provinceCity +
            ", provinceAddress = " + provinceAddress +
            ", notes = " + notes +
            ", zipCode = " + zipCode +
            ", createTime = " + createTime +
            ", modifyTime = " + modifyTime +
            ", status = " + status +
        "}";
    }
}
